redsymbol.net exit traps

51

redsymbol.net exit traps -

#!/bin/bash
function finish {
  # Your cleanup code here
}
trap finish EXIT

Comments

Submit
0 Comments